<%@ tag body-content="scriptless" pageEncoding="UTF-8" %>
<%@ attribute name="children" type="java.util.List"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="myTags" %>
<c:forEach var="row" items="${children}" varStatus="status">
<c:set var="class" value="folder"/>
<c:if test="${fn:length(row.children) == 0}">
	<c:set var="class" value="file"/>
</c:if>
<ul>
<li>
${row.name}(${fn:length(row.children)})(${row.orderNo})
<myTags:category children="${row.children}"/>
</li>
</ul>
</c:forEach>